GtkEntry: Focus the entry without selecting the text
authorBastien Nocera <hadess@hadess.net>
Tue, 21 May 2013 16:26:48 +0000 (18:26 +0200)
committerBastien Nocera <hadess@hadess.net>
Thu, 23 May 2013 18:53:30 +0000 (20:53 +0200)
commitffbe7f6eb6de2933478a14fc9d734570d7820c21
tree13cf190dc3b9f833c7b3ab5fc1ec75f2330e6444
parent875b1d07ded377b20acbf1a10cae847f56de05b4
GtkEntry: Focus the entry without selecting the text

Focusing the text entry without selecting all the text is needed in
some places (GtkTreeView, and some uses of GtkSearchEntry) so
create a private helper to avoid replicating the hacks.

https://bugzilla.gnome.org/show_bug.cgi?id=700787
gtk/gtkentry.c
gtk/gtkentryprivate.h